package exercise7;
import javax.swing.JOptionPane;
public class DecimalToBinary {
	public static String convertDecimalToBinary(int value) {
		String result = Integer.toBinaryString(value);
        JOptionPane.showMessageDialog(null, "输出二进制："+result);
        return null;
	}
}
